<template>
  <div class="user">
    <router-view></router-view>
  </div>
</template>

<script>
import { mapState, mapActions } from "vuex";
export default {
  methods: {
    ...mapActions("user", ["initProfile"]),
  },
  computed: {
    ...mapState("user", ["profile", "tokenInfo"]),
  },
  created() {
    this.initProfile();
  },
};
</script>

<style scoped>
.user {
  height: 100%;
  padding-bottom: 50px;
}
</style>
